Security of gaming software

ABSTRACT

A gaming machine for conducting a wagering game comprises a processing apparatus and a secondary apparatus. To inhibit unauthorized persons from replacing some or all of the software executed by the processing apparatus with unapproved software, the processing apparatus transmits a security message to the secondary apparatus. The secondary apparatus, in turn, transmits an enable signal critical to machine function in response to successful validation of the security message. The secondary apparatus may, for example, be a programmable logic circuit external to the processing apparatus.

REFERENCE TO RELATED APPLICATIONS

[0001] This application is related to U.S. patent application Ser. No. 10/119,663 entitled “Gaming Software Authentication” and filed Apr. 10, 2002.

FIELD OF THE INVENTION

[0002] The present invention relates generally to gaming machines and, more particularly, to a method and system for inhibiting execution of unauthorized software on a gaming machine.

BACKGROUND OF THE INVENTION

[0003] A gaming machine is operable to conduct a wagering game such as slots, poker, keno, bingo, or blackjack. In response to a wager for purchasing a play of the game, the machine generates a random (or pseudo-random) event and provides an award to a player for a winning outcome of the random event. Occasionally, the random event may trigger a bonus game involving lively animations, display illuminations, special effects, and/or player interaction. Game outcomes are presented to the player on one or more displays, which depict the outcomes in a form that can be understood by the player.

[0004] A gaming machine typically includes an outer cabinet that houses a main central processing unit (CPU), several peripheral devices, and wiring harnesses to electrically connect the peripherals to the main CPU. The CPU may, for example, include one or more printed circuit boards carrying one or more processors, a plurality of logic devices, and one or more memory devices for storing executable program code and game data. The memory devices for storing executable code may, for example, include EPROMS, hard disk drives, Compact FLASH cards, CD-ROMs, DVDs, and Smart Media cards. The stored executable code provides two basic functions: (1) an operating system for controlling the gaming machine and controlling communications between the gaming machine and external systems or users, and (2) game code for conducting a game on the gaming machine.

[0005] Heretofore, there has been little to inhibit unauthorized persons from replacing some or all of the executable code in the main CPU with unapproved software and thereby take advantage of the machine's capabilities without authorization from the machine manufacturer. A need therefore exists for a method and apparatus for inhibiting such unauthorized activity.

SUMMARY OF THE INVENTION

[0006] A gaming machine for conducting a wagering game comprises a processing apparatus and a secondary apparatus. To inhibit unauthorized persons from replacing some or all of the software executed by the processing apparatus with unapproved software, the processing apparatus transmits a security message to the secondary apparatus. The secondary apparatus, in turn, transmits an enable signal critical to machine function in response to successful validation of the security message. The secondary apparatus may, for example, be a programmable logic circuit external to the processing apparatus.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The foregoing and other advantages of the invention will become apparent upon reading the following detailed description and upon reference to the drawings.

[0008]FIG. 1 is an isometric view of a gaming machine operable to conduct a wagering game.

[0009]FIG. 2 is a block diagram of a control system suitable for operating the gaming machine.

[0010]FIG. 3 is a block diagram of a security system for inhibiting execution of unauthorized software on a gaming machine.

[0011]FIG. 4 is a block diagram of a secondary apparatus employed in the security system.

[0012] While the invention is susceptible to various modifications and alternative forms, specific embodiments have been shown by way of example in the drawings and will be described in detail herein. It should be understood, however, that the invention is not intended to be limited to the particular forms disclosed. Rather, the invention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.

DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

[0013] Turning now to the drawings, FIG. 1 depicts a gaming machine 10 operable to conduct a wagering game such as slots, poker, keno, bingo, or blackjack. In response to a wager for purchasing a play of the game, the machine generates a random (or pseudo-random) event using a random number generator (RNG) and provides an award to a player for a winning outcome of the random event. Occasionally, the random event may trigger a bonus game involving lively animations, display illuminations, special effects, and/or player interaction. Game outcomes are presented to the player on at least one display 12, which depicts the outcomes in a form that can be understood by the player. The gaming machine 10 includes an outer cabinet 13 that houses a main central processing unit (CPU), several peripheral devices, and wiring harnesses to electrically connect the peripherals to the main CPU.

[0014]FIG. 2 is a block diagram of a control system suitable for operating the gaming machine. Money/credit detector 16 signals a CPU 18 when a player has inserted money or played a number of credits. The money may be provided by coins, bills, tickets, coupons, cards, etc. Using a button panel 14 (see FIG. 1) or a touch screen 20, the player may select any variables associated with the wagering game and place his/her wager to purchase a play of the game. In a play of the game, the CPU 18 generates at least one random event using a random number generator (RNG) and provides an award to the player for a winning outcome of the random event. The CPU 18 operates the display 12 to represent the random events and outcomes in a visual form that can be understood by the player. A payoff mechanism 22 is operable in response to instructions from the CPU 18 to award a payoff to the player. The payoff may, for example, be in the form of a number of credits.

[0015] The CPU may, for example, include one or more printed circuit boards carrying one or more processors, a plurality of logic devices, and one or more memory devices for storing executable program code (software) and game data. The memory devices for storing executable code may, for example, include EPROMs, hard disk drives, Compact FLASH cards, CD-ROMs, DVDs, and Smart Media cards. The stored executable code provides two basic functions: (1) an operating system for controlling the gaming machine and controlling communications between the gaming machine and external systems or users, and (2) game code for conducting a game on the gaming machine. In operation, the CPU loads executable code and associated game data into system memory and executes the code out of system memory. The system memory may, for example, include non-volatile random access memory (NVRAM) for storing critical game data such as metering and accounting data.

[0016]FIG. 3 is a block diagram of a security system for inhibiting execution of unauthorized software on a gaming machine. The security system includes a processor 30, a secondary apparatus 32, and system memory 34 a-b. The processor 30 and system memory 34 a-b are part of the CPU in FIG. 2. The secondary apparatus 32 is preferably a programmable logic circuit, such as a field programmable gate array (FPGA). The secondary apparatus 32 may be external to and physically separated from the CPU, or internal to the CPU.

[0017] To inhibit unauthorized persons from replacing some or all of the software executed by the CPU with unapproved software, the processor 30 transmits a security message to the secondary apparatus 32 over a communications channel (bus) 36. The security message may, for example, include a string of bits (e.g., 128 bits) embedded in other message traffic transmitted by the processor 30. The string of bits may be a copyrighted or trademarked string. The secondary apparatus 32, in turn, checks the validity of the security message by comparing the security message to a reference message. If the comparison is successful (e.g., the security message matches the reference message), the secondary apparatus 32 transmits enable signals to the system memory 34 a-b over chip-select lines 38. If, however, the comparison is unsuccessful (e.g., the security message does not match the reference message), the secondary apparatus 32 transmits disable signals to the system memory 34 a-b over the chip-select lines 38 so that the gaming machine cannot function properly.

[0018] The system memory 34 a-b may, for example, include non-volatile random access memory chips (NVRAM). During normal operation of the gaming machine, the CPU stores and accesses critical game data in the system memory 34 a-b. The system memory 34 a-b must receive the enable signals over the chip-select lines 38 in order to perform this function, which is critical to proper functioning of the gaming machine. To help disguise the existence of the security system, the enable signals may default to the enabled state when the gaming machine is first powered up and may remain enabled for a period of time before the secondary apparatus 32 checks the validity of the security message.

[0019]FIG. 4 is a block diagram of the secondary apparatus 32. A bus buffer 40 interfaces to the communications channel 36 between the secondary apparatus 32 and the processor 30. The bus buffer 40 provides a temporary storage location for data to be transmitted between the secondary apparatus 32 and the processor 30 over the communications channel 36. I²C interface logic 42 provides the necessary circuitry to drive I²C bus peripherals that may exist in the gaming machine's control system. These peripherals include a comparator 44 internal to the secondary apparatus 32 and external peripherals coupled an external bus. The comparator 44 compares the security message transmitted from the processor 30 to the secondary apparatus 32 with a reference message stored in the secondary apparatus 32. If the comparison is successful (e.g., the security message matches the reference message), the comparator 44 transmits a reset signal to a watchdog timer 46.

[0020] The watchdog timer 46 controls the enable signals critical to proper functioning of the gaming machine. If the secondary apparatus 32 receives the valid security message from the processor 30, the watchdog timer 46 will continually enable proper functioning of the gaming machine, e.g., by transmitting enable signals to the system memory 34 a-b over the chip-select lines 38. If the secondary apparatus 32 does not receive the valid security message from the processor 30, the comparator 44 does not reset the watchdog timer 46 and, as a result, the timer 46 will transmit disable signals to the system memory 34 a-b over the chip-select lines 38. Address decode logic 48 provides individual control of the chip-select lines 38 based upon the system memory address that is requested from the processor 30.

[0021] The watchdog timer 46 automatically disables the enable signals if the secondary apparatus 32 does not periodically receive the correct security message from the processor 30 at regular or pseudo-random refresh time intervals. A pseudo-random refresh interval (e.g., a refresh interval with a random offset) makes it more difficult to observe periodic behavior for the security message, identify the presence of the watchdog timer, and thereby defeat the security system. The refresh interval is sufficiently long (e.g., twenty minutes) to reduce the possibility of “sniffing” or detecting the security message over the communications channel 36.

[0022] The security system embodying the present invention may be enhanced in various ways to make it more difficult for unscrupulous persons to defeat the security system. For example, the enable signals may be dynamic, as opposed to static, by varying the state of the enable signals over time and in an unpredictable or random manner. The enable signals preferably originate internal to the secondary apparatus 32 to minimize the ability to observe the signals. Alternatively, the enable signals may originate external to the secondary apparatus 32 and be “passed through” the apparatus 32.

[0023] Further, the security system may utilize a non-transferrable digital signature. In this instance, the secondary apparatus 32 generates a random number and transmits an original message containing the random number to the processor 30. The processor 30 then encrypts the message using a private key and transmits the encrypted message back to the secondary apparatus 32. The secondary apparatus 32 decrypts the encrypted message using a public key (to regenerate the random number) and checks the validity of the decrypted message by comparing the decrypted message to the original message transmitted by the secondary apparatus 32 to the processor 30. If the comparison is successful (e.g., the decrypted message matches the original message), the secondary apparatus 32 transmits enable signals to the system memory 34 a-b over the chip-select lines 38. If, however, the comparison is unsuccessful (e.g., the decrypted message does not match the original message), the secondary apparatus 32 disables these signals so that the gaming machine cannot function properly.

[0024] While the present invention has been described with reference to one or more particular embodiments, those skilled in the art will recognize that many changes may be made thereto without departing from the spirit and scope of the present invention. For example, instead of transmitting an enable signal to the system memory 34 a-b in response to successful validation of the security message, the secondary apparatus 32 may transmit the enable signal to some other component that is critical to machine function. Each of these embodiments and obvious variations thereof is contemplated as falling within the spirit and scope of the claimed invention, which is set forth in the following claims: 

What is claimed is:
 1. A gaming machine for conducting a wagering game, comprising: a processing apparatus for transmitting a security message; and a secondary apparatus for receiving and validating the security message, the secondary apparatus transmitting an enable signal critical to machine function in response to successful validation of the security message.
 2. The machine of claim 1, wherein the processing apparatus includes a main processor of the gaming machine.
 3. The machine of claim 1, wherein the secondary apparatus is external to the processing apparatus.
 4. The machine of claim 3, wherein the secondary apparatus includes programmable logic.
 5. The machine of claim 1, further including memory circuitry critical to functioning of the gaming machine, the memory circuitry being enabled by the enable signal.
 6. The machine of claim 5, wherein the memory circuitry includes a non-volatile random access memory.
 7. The machine of claim 1, wherein the secondary apparatus compares the received security message with a reference message and transmits the enable signal in response to a successful comparison.
 8. The machine of claim 1, wherein the secondary apparatus is physically separated from the processing apparatus.
 9. The machine of claim 1, wherein the secondary apparatus is contained within the processing apparatus.
 10. The machine of claim 1, wherein the secondary apparatus disables the enable signal in response to unsuccessful validation of the security message.
 11. The machine of claim 1, wherein the enable signal is dynamic.
 12. The machine of claim 1, wherein the enable signal originates internal to the secondary apparatus.
 13. The machine of claim 1, wherein the enable signal originates external to the secondary apparatus.
 14. The machine of claim 1, wherein the secondary apparatus includes a watchdog timer for disabling the enable signal if the secondary apparatus does not periodically receive the security message from the processing apparatus.
 15. The machine of claim 1, wherein the processing apparatus embeds the security message in other message traffic.
 16. The machine of claim 1, wherein the security message includes a string of bits.
 17. The machine of claim 1, wherein the secondary apparatus initially transmits a message to the processing apparatus, wherein the processing apparatus encrypts the message and transmits the encrypted message to the secondary apparatus, the encrypted message being the security message, the secondary apparatus decrypting the encrypted message and validating the decrypted message against the originally transmitted message.
 18. The machine of claim 17, wherein the message includes a random number.
 19. A method of inhibiting execution of unauthorized software on a gaming machine, the method comprising: transmitting a security message from a processing apparatus to a secondary apparatus; validating the security message with the secondary apparatus; and transmitting, with the secondary apparatus, an enable signal critical to machine function in response to successful validation of the security message.
 20. The method of claim 19, wherein the processing apparatus includes a main processor of the gaming machine.
 21. The method of claim 19, wherein the secondary apparatus is external to the processing apparatus.
 22. The method of claim 21, wherein the secondary apparatus includes programmable logic.
 23. The method of claim 19, further including memory circuitry critical to functioning of the gaming machine, and wherein the step of transmitting an enable signal includes transmitting the enable signal to the memory circuitry.
 24. The method of claim 23, wherein the memory circuitry includes a non-volatile random access memory.
 25. The method of claim 19, wherein the step of validating the security message includes comparing the received security message with a reference message, and wherein the step of transmitting an enable signal includes transmitting the enable signal in response to a successful comparison between the received security message and the reference message.
 26. The method of claim 19, wherein the secondary apparatus is physically separated from the processing apparatus.
 27. The method of claim 19, wherein the secondary apparatus is contained within the processing apparatus.
 28. The method of claim 1, further including disabling, with the secondary apparatus, the enable signal in response to unsuccessful validation of the security message.
 29. The method of claim 19, wherein the enable signal is dynamic.
 30. The method of claim 19, wherein the enable signal originates internal to the secondary apparatus.
 31. The method of claim 19, wherein the enable signal originates external to the secondary apparatus.
 32. The method of claim 19, wherein the secondary apparatus includes a watchdog timer, and further including disabling the enable signal if the secondary apparatus does not periodically receive the security message from the processing apparatus.
 33. The method of claim 19, wherein the step of transmitting a security message includes embedding the security message in other message traffic.
 34. The method of claim 19, wherein the security message includes a string of bits.
 35. The method of claim 19, further including: transmitting a message from the secondary apparatus to the processing apparatus; encrypting the message with the processing apparatus; and decrypting the encrypted message with the secondary apparatus; wherein step of transmitting a security message includes transmitting the encrypted message; and wherein the step of validating the security message includes validating the decrypted message against the originally transmitted message.
 36. The method of claim 35, wherein the message includes a random number. 